package edu.java.water.entity;

import java.util.Date;

/**
 * 订单
 */
public class OrderEntity {
    private Integer id;
    private Integer order_number;
    private Integer receiving_phone;
    private Integer total_amount;
    private Integer pay_state;
    private String receiving_address;
    private  Date create_time;
    private  Date update_time;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getOrder_number() {
        return order_number;
    }

    public void setOrder_number(Integer order_number) {
        this.order_number = order_number;
    }

    public Integer getReceiving_phone() {
        return receiving_phone;
    }

    public void setReceiving_phone(Integer receiving_phone) {
        this.receiving_phone = receiving_phone;
    }

    public Integer getTotal_amount() {
        return total_amount;
    }

    public void setTotal_amount(Integer total_amount) {
        this.total_amount = total_amount;
    }

    public Integer getPay_state() {
        return pay_state;
    }

    public void setPay_state(Integer pay_state) {
        this.pay_state = pay_state;
    }

    public String getReceiving_address() {
        return receiving_address;
    }

    public void setReceiving_address(String receiving_address) {
        this.receiving_address = receiving_address;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }

    @Override
    public String toString() {
        return "OrderEnity{" +
                "id=" + id +
                ", order_number=" + order_number +
                ", receiving_phone=" + receiving_phone +
                ", total_amount=" + total_amount +
                ", pay_state=" + pay_state +
                ", receiving_address='" + receiving_address + '\'' +
                ", create_time=" + create_time +
                ", update_time=" + update_time +
                '}';
    }
}
